package com.jjkj.environmental.environmental.utils

import java.text.SimpleDateFormat
import java.util.*

object DateConverter {
    private val format = SimpleDateFormat("yyyy-MM-dd HH:mm:ss", Locale.CHINESE)


    fun convert(date: Date): String {
        return format.format(date)
    }
}